package com.ken.teacher.pojo;

import java.util.List;

public class MessagePayload {
    private String classId;
    private long time; // 假设time是以毫秒为单位的时间戳
    private List<String> studentList;


    public MessagePayload() {
    }

    public MessagePayload(String classId, long time, List<String> studentList) {
        this.classId = classId;
        this.time = time;
        this.studentList = studentList;
    }

    /**
     * 获取
     * @return classId
     */
    public String getClassId() {
        return classId;
    }

    /**
     * 设置
     * @param classId
     */
    public void setClassId(String classId) {
        this.classId = classId;
    }

    /**
     * 获取
     * @return time
     */
    public long getTime() {
        return time;
    }

    /**
     * 设置
     * @param time
     */
    public void setTime(long time) {
        this.time = time;
    }

    /**
     * 获取
     * @return studentList
     */
    public List<String> getStudentList() {
        return studentList;
    }

    /**
     * 设置
     * @param studentList
     */
    public void setStudentList(List<String> studentList) {
        this.studentList = studentList;
    }

    public String toString() {
        return "MessagePayload{classId = " + classId + ", time = " + time + ", studentList = " + studentList + "}";
    }
}
